home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 001-025 / scopedisk1 / getopt / getopt.txt < prev    next >
Text File  |  1995-03-18  |  811b  |  21 lines

  1. Function note:
  2. The function getopt() will allow you to easily handle any number of
  3. options as input to your CLI-based programs.  It is NOT part of the ANSI
  4. specifications for C, but I find that it makes including options for my
  5. programs much less painful.
  6.  
  7. Compilation note:
  8. If you have Manx's Aztec C (as I do), getopt can be compiled as either a 16-
  9. or 32-bit integer function.  Use whichever mode your calling routine uses.
  10.  
  11. Just a note:
  12. If you find this function useful (I hope you do; I hate remembering to type
  13. "opt x" instead of "-x") I would appreciate receiving a picture postcard
  14. from your locale bearing the most interesting tidbit of Amiga information
  15. you are willing to share.  Thanks.
  16.  
  17.                   Adam Levin
  18.                   133c Hudson Terrace
  19.                   Piermont, NY  10968-1013
  20.  
  21.